//package cn.amoqi.springbootrocketmq.v1;
//
//import lombok.extern.slf4j.Slf4j;
//import org.apache.rocketmq.spring.annotation.ConsumeMode;
//import org.apache.rocketmq.spring.annotation.RocketMQMessageListener;
//import org.apache.rocketmq.spring.core.RocketMQListener;
//import org.apache.rocketmq.spring.core.RocketMQTemplate;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Component;
//
///**
// * @Description:
// * @author: zhuiFeng
// * @date: 2021年04月15日 15:22
// */
////@Component
////@RocketMQMessageListener(topic = "test-topic-1", consumerGroup = "my-consumer_test-topic-1",consumeMode = ConsumeMode.ORDERLY)
//@Slf4j
//public class ConsumerComponent implements RocketMQListener<String>{
//    @Autowired
//    private RocketMQTemplate rocketMQTemplate;
//
//    @Override
//    public void onMessage(String message) {
//        log.info("received message: " + message);
//    }
//}
